import request from '@/utils/request'

// 获取分销规则
export function getSaleList(data) {
  return request({
    url: '/api/sale_list',
    method: 'POST',
    data,
  })
}

// 添加分销规则
export function addSale(data) {
  return request({
    url: '/api/sale_add',
    method: 'POST',
    data,
  })
}
